﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CaltechSoft.Service.EntityFW.Entity
{
    public class CustomerEquipment : Entity
    {
        public int EquipmentId { get; set; }
        public int CustomerId { get; set; }

        public string SerialNumber { get; set; }
        public string PONumber { get; set; }
        public string Procedure { get; set; }
        public string AssetNumber { get; set; }

        public DateTime? CalibrationDate { get; set; }
        public DateTime? NextDueDate { get; set; }

        public float? Price { get; set; }

        public virtual Equipment Equipment { get; set; }
        public virtual Customer Customer { get; set; }
        [ForeignKey("UpdatedBy")]
        public virtual User Salesman { get; set; }
    }
}
